Disallow abstract member with access modifiers in sig file#17802
Disallow abstract member with access modifiers in sig file#17802psfinaki merged 17 commits intodotnet:mainfrom
Conversation
❗ Release notes required
|
|
@Tangent-90 - |
Hmm... I just simply find out that |
|
error when running
|
Seen this in the past. Had to close and reopen my PR multiple times until the CI is green. |
...mance/BasicGrammarElements/AccessibilityAnnotations/PermittedLocations/PermittedLocations.fs
Outdated
Show resolved
Hide resolved
edgarfgp
left a comment
There was a problem hiding this comment.
Thanks for this. It improves by a mile the access modifiers error reporting in sig file.
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
...mance/BasicGrammarElements/AccessibilityAnnotations/PermittedLocations/PermittedLocations.fs
Show resolved
Hide resolved
Head branch was pushed to by a user without write access
psfinaki
left a comment
There was a problem hiding this comment.
Alright then, let's get this in - thanks!
Description
Disallow abstract member with access modifiers in signature files.
Before: All these will build successfully
After: Error FS0561: Accessibility modifiers are not allowed on this member. Abstract slots always have the same visibility as the enclosing type.
Checklist